// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';

/** 新增职务 POST /fds/employee/addEmJobs */
export async function addEmJobsUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addEmJobsUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_79>('/fds/employee/addEmJobs', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增员工 POST /fds/employee/addEmployees */
export async function addEmployeesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addEmployeesUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_28>('/fds/employee/addEmployees', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 工资列表-删除 POST /fds/employee/deleteEmWages */
export async function deleteEmWagesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.deleteEmWagesUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/employee/deleteEmWages', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出职务列表 POST /fds/employee/exportEmJobs */
export async function exportEmJobsUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportEmJobsUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/employee/exportEmJobs', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出员工列表 POST /fds/employee/exportEmployee */
export async function exportEmployeeUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportEmployeeUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/employee/exportEmployee', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出员工工资列表 POST /fds/employee/exportEmWages */
export async function exportEmWagesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportEmWagesUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/employee/exportEmWages', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取职务信息 GET /fds/employee/getEmJobs */
export async function getEmJobsUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getEmJobsUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_79>('/fds/employee/getEmJobs', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取职务列表 POST /fds/employee/getEmJobsList */
export async function getEmJobsListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getEmJobsListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResultEmJobsDto_>('/fds/employee/getEmJobsList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取员工详细信息 GET /fds/employee/getEmployeesDetail */
export async function getEmployeesDetailUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getEmployeesDetailUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.EmployeesDetailDto>('/fds/employee/getEmployeesDetail', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取员工列表 POST /fds/employee/getEmployeesList */
export async function getEmployeesListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getEmployeesListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResultEmployeesDto_>('/fds/employee/getEmployeesList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取工资详情-自动计算 GET /fds/employee/getEmWages */
export async function getEmWagesUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getEmWagesUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_54>('/fds/employee/getEmWages', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取员工工资列表 POST /fds/employee/getEmWagesList */
export async function getEmWagesListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getEmWagesListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResultEmWagesDto_>('/fds/employee/getEmWagesList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 发工资 GET /fds/employee/payoff */
export async function payoffUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.payoffUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_54>('/fds/employee/payoff', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 工资列表-刷新 POST /fds/employee/refreshEmWages */
export async function refreshEmWagesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.refreshEmWagesUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/employee/refreshEmWages', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 重置密码 POST /fds/employee/resetPassword */
export async function resetPasswordUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.resetPasswordUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/employee/resetPassword', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 撤销发工资 GET /fds/employee/revokePayoff */
export async function revokePayoffUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.revokePayoffUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/employee/revokePayoff', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改职务信息 POST /fds/employee/updateEmJobs */
export async function updateEmJobsUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateEmJobsUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_79>('/fds/employee/updateEmJobs', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改员工信息 POST /fds/employee/updateEmployees */
export async function updateEmployeesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateEmployeesUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_28>('/fds/employee/updateEmployees', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 工资列表-编辑 POST /fds/employee/updateEmWages */
export async function updateEmWagesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateEmWagesUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/employee/updateEmWages', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
